package com.lxp.userms.mapper;

import com.lxp.userms.entity.ExpertLecture;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ExpertLectureMapper {
    int insertLecture(ExpertLecture lecture);
    List<ExpertLecture> selectAllLectures();
    List<ExpertLecture> selectLecturesByExpertId(int expertId);
    int deleteLecture(int id);
}